#{extends 'frame.html' /}

#{set title:'核实退款' /}



#{set 'moreStyles'}

<link rel="stylesheet" media="screen" href="@{'/public/stylesheets/task/verify-refund.css'}" />

<link rel="stylesheet" media="screen" href="@{'/public/stylesheets/jquery.pagination.css'}" />

#{/set}

#{authenticityToken/}

<div class="contentCard">

	<div class="contentTitle">

		<span class="iconfont">&#xf00ef;</span>

		核实卖家是否退款给您

	</div>

	<div class="contentBody">

		<div class="taskFilterLine">

			<span class="floatLeft mr-8">任务种类</span>

			<select class="floatLeft mr-8 platform" id="platform" value="${currPlatform}">

				<option value="">全部</option>

				#{list items:platforms, as:'p'}

				<option value="${p}" ${selectedPlatform==p?'selected':''}>${p.title}</option>

				#{/list}

			</select>

			<span class="floatLeft mr-8">订单号</span>

			<input class="floatLeft mr-8" type="text" name="order" id="orderId"/>

			<span class="floatLeft mr-8">买号</span>

			<input class="floatLeft mr-8" type="text" name="account" id="buyerAccountNick"/>

			<a class="stdColorButton floatLeft" id="queryTask" href="javascript:;">查询</a>

		</div>

		<!-- <div class="taskWrapperHf clearfix">

			<a href="javascript:;" class="lnkChoseAll inputCheckBox floatLeft">&nbsp;</a>

			<span class="floatLeft" style="line-height:30px;">全选</span>

		</div> -->

		<div class="taskWrapper" style="overflow: hidden;" id="taskContainer"></div>

		<div class="popWrapper" style="display: none;" id="tr_loading_mask">

			<div class="maskLayer"></div>

			<img class="tr_juhua" src="@{'/public/images/pre_loading.gif'}" />		

		</div>

		<!--这里是分页区域-->

		<div class="pagin-btm clearFix">

			<div class="pagination"></div>

		</div>

		<!-- <div class="taskWrapperHf clearfix">

			<a href="javascript:;" class="lnkChoseAll inputCheckBox floatLeft">&nbsp;</a>

			<span class="floatLeft" style="line-height:30px;">全选</span>

		</div> -->

		<div class="buttonSection clearfix">

			<p>

				<span>

					<!-- 已选中任务

					<span class="ml4 mr10 red" id="taskCount">0</span> -->

					退款总额

					<span class="ml4 mr10 red" id="paidFeeCount">0</span>

					退款到您的财付通账号

					<span class="ml4 mr10 red" id="account"></span>或者平台账号本金内 (如果商家退款延时，平台会将钱转到平台账户内，请注意查收)

					可获得佣金

					<span class="ml4 mr4 red" id="rewardIngotCount">0</span>

					金币

				</span>

			</p>

			<!-- <a class="stdColorButton floatRight" href="javascript:;" id="btnConfirmAll">

				<span class="iconfont">&#xf0025;</span>

				确认收到退款

			</a> -->

		</div>

	</div>

</div>



<div class="contentCard">

	<div class="contentTitle">

		<span class="iconfont">&#xf00b7;</span>

		注意事项

	</div>

	<div class="contentBody">

		<ul>

			<li>

				请进入您的

				<span class="ml4 mr4 red">财付通</span>

				账户检查钱是否到账后再到这里进行确认

			</li>

			<li>

				如果商家给您的退款

				<span class="ml4 mr4 red">没有到账</span>

				或

				<span class="ml4 mr4 red">数额不对</span>

				，请联系客服

			</li>

		</ul>

	</div>

</div>



<textarea id="taskCellTemp" class="muban">

	{{#results}}

	<div class="taskCell">

		<div class="title">

			<a class="viewDetail" href="javascript:;">查看详情&gt;&gt;</a>

			<span class="taskNo">

				任务编号：{{taskIdStr}}-{{id}}

				<span></span>

			</span>

			<a href="javascript:;" class="inputCheckBox floatLeft" tid="{{id}}"  pid="{{taskIdStr}}" rewardIngot="{{rewardIngot}}" paidFee="{{paidFee}}">&nbsp;</a>

			<span class="nick mr10 floatLeft">买号：{{buyerAccountNick}}</span>

			<span class="shop"> <i class="plat_small {{platIcon}}"></i>

				{{shopName}}

			</span>

		</div>

		<div class="body">

			<table class="normTable">

				<thead>

					<tr>

						<td class="item-list"></td>

						<td class="amount"></td>

						<td class="orderid"></td>

						<td class="refundNo"></td>

						<td class="opera"></td>

					</tr>

				</thead>

				<tbody>

					<tr>

						<td class="item-list">

							<div class="item-box">

								<div class="pic">

									<img src="{{itemPic}}" />

								</div>

								<p class="title">{{itemTitle}}</p>

							</div>

						</td>

						<td class="amount"> <em class="cap">金额</em>

							{{paidFeeFor}} 元

						</td>

						<td class="orderid"> <em class="cap">订单号</em>

							{{orderId}}

						</td>

						<td class="refundNo">

							<em class="cap">财付通&nbsp;交易号</em>

							{{transNoStr}}

						</td>

						<td class="opera">

							<a class="btnConfirmRefund stdColorButton" href="javascript:;">确认收到退款</a>

						</td>

					</tr>

				</tbody>



			</table>



		</div>

	</div>

	{{/results}}

</textarea>

#{set 'moreScripts'}

<script src="@{'/public/javascripts/jquery.pagination.js'}" type="text/javascript"></script>

<script src="@{'/public/javascripts/jquery.number.min.js'}" type="text/javascript"></script>

<script src="@{'/public/javascripts/mustache.min.js'}" type="text/javascript"></script>

<script src="@{'/public/javascripts/task/verifyRefund.js'}" type="text/javascript"></script>

<script type="text/javascript">

	App.module = 'takeTask';

	App.taskInfo ='${taskInfo}';

	App.currplatform = '${currPlatform}'

</script>

#{/set}